package utils;

import java.util.Random;

public class StaticUtils {

	private static Random random = new Random();

	public static int getRandomInteger(int start, int end) {
		long range = (long) end - (long) start + 1;
		long fraction = (long) (range * random.nextDouble());
		return (int) (fraction + start);
	}
}
